package com.example.hibernate.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import java.math.BigDecimal;

/**
 * Created by Yasin H on 2018/7/30.
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity(name = "product")
public class Product extends AbstractEntity<Product> {

    private String name;
    private BigDecimal price;
    private String description;
    private String cover;

}
